package com.aceitunaproject.webclient.client;

import java.util.List;

import com.aceitunaproject.shared.gamelement.Unit;
import com.aceitunaproject.shared.map.MapTile;
import com.google.gwt.user.client.rpc.AsyncCallback;

public interface AceitunaServiceAsync {

	void login(String userName, String password, AsyncCallback<String> callback);

	void getMap(String clientId,
			AsyncCallback<List<MapTile>> callback);

	void MoveUnit(String clientId, long unitID, int x, int y,
			AsyncCallback<Void> callback);

	
	void BuildSettlement(String clientId, Long unitID, String settlementName,
			int x, int y, AsyncCallback<Void> callback);


}
